S2CPayloadHandler

fun interface S2CPayloadHandler<T : CustomPayload> : PayloadHandler<T, ClientPlayerEntity, ClientPlayNetworkContext>

Handler for a client receiving a payload sent from the server

Author

fzzyhmstrs

Since

0.4.1

Parameters

T

the type of payload being handled

Functions

Link copied to clipboard
abstract override fun handle(payload: T, context: ClientPlayNetworkContext)

Handles a payload sent from the server